package Service.impl;

import Mapper.MenuMapper;
import Pojo.Menu;
import Service.MenuService;
import Util.BaseMapper;

import java.util.List;

public class MenuServiceImpl implements MenuService {
    private MenuMapper menuMapper= BaseMapper.getSqlSession().getMapper(MenuMapper.class);
    @Override
    public List<Menu> MenuQueryAll() {
        System.out.println(menuMapper.MenuQueryAll());
        return menuMapper.MenuQueryAll();
    }


}
